//
//  AdaptivePresentationFirstViewController.swift
//  CustomTransitions
//
//  Created by fuyoufang on 2021/10/13.
//

import Foundation
import UIKit

class AdaptivePresentationFirstViewController: BaseFirstViewController {
 
    override func showSecond(sender: Any) {
        let viewController = AdaptivePresentationSecondViewController()
        let presentationController = AdaptivePresentationController(presentedViewController: viewController,
                                                                    presenting: self)
        viewController.transitioningDelegate = presentationController
        present(viewController, animated: true, completion: nil)
    }
}
